Repository navigation
Feat/redesign popover - #836
Merged
Merged
Conversation
BREAKING CHANGE: content is now required; move title markup into content. Replace container with contentProps for floating element attributes, styles and ref. PopoverStyleSlots is removed. Shape now contains container, box and arrow data; appearance contains box and arrow data instead of root/title/content class names. popoverAppearances.default is now a theme factory; pass appearance='default' or a complete appearance object. Default bounds now follow content. Popover is now a non-modal dialog opened by click, with managed focus. Remove trigger, triggerOnFocus, mouseEnterDelay, mouseLeaveDelay, role, dismiss, transform, strategy and size props. Move offset to shape.container.offset. Remove animated and arrow props; configure arrow geometry through shape.arrow. The Arrow component export is removed. ArrowProps now requires arrowRef, context and shape instead of ref and arrow.
BREAKING CHANGE: The component generator no longer offers popover. Import Popover directly from @atls-ui-parts/popover instead of generating a wrapper.
BREAKING CHANGE: ArrowProps is no longer exported from @atls-ui-parts/popover. Use ArrowShape and ArrowAppearance to customize the popover arrow.
Resolve Storybook discovery using recursive patterns from feat/v2.
comfrt1k
marked this pull request as ready for review
November 23, 2026 20:23
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
TorinAsakura
approved these changes
Nov 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Таска
Как проверять
Контекст: Storybook → Components → Popover → Базовый.
Действие: нажать Trigger, затем нажать его повторно.
Ожидаемый результат: Popover открывается и закрывается.
Контекст: Controls этой истории.
Действие: перебрать
placement.Ожидаемый результат: Popover располагается с выбранной стороны и выравниванием; стрелка направлена к триггеру.
Контекст: Controls →
interactiveContent = true.Действие: открыть Popover, ввести текст и нажать Increment.
Ожидаемый результат: поле и кнопка работают, Popover остаётся открытым.
Контекст: открытый Popover.
Действие: нажать Escape.
Ожидаемый результат: Popover закрывается, фокус возвращается на Trigger.
Контекст: открытый Popover с интерактивным содержимым.
Действие: кликнуть снаружи либо выйти из содержимого клавишей Tab.
Ожидаемый результат: Popover закрывается, внешние элементы остаются доступны.
Пруфы
Details
2026-11-23.23.12.16.mov